package com.example.lottery.service.dto;

import com.example.lottery.controller.result.FindPrizeListResult;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class FindPrizeListDTO<T> {
    /**
     * 奖品总数
     */
    private Integer total;

    /**
     * 奖品列表
     */
    private List<T> records;

    public FindPrizeListDTO(Integer total, List<T> records) {
        this.total = total;
        this.records = records;
    }
}
